<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set value="<%=request.getContextPath()%>" var="ctx"></c:set>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8" />
<title>首页</title>
<!-- Flot -->
<script src="${ctx}/decorators/js/plugins/flot/jquery.flot.js"></script>
<script
	src="${ctx}/decorators/js/plugins/flot/jquery.flot.tooltip.min.js"></script>
<script src="${ctx}/decorators/js/plugins/flot/jquery.flot.spline.js"></script>
<script src="${ctx}/decorators/js/plugins/flot/jquery.flot.resize.js"></script>
<script src="${ctx}/decorators/js/plugins/flot/jquery.flot.pie.js"></script>
<script src="${ctx}/decorators/js/plugins/flot/jquery.flot.symbol.js"></script>
<script src="${ctx}/assert/js/echarts-all.js"></script>
</head>
<body>
<div class="wrapper wrapper-content">
<div class="row">
            <div class="col-sm-3">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <span class="label label-success pull-right">总</span>
                        <h5>用户数</h5>
                    </div>
                    <div class="ibox-content">
                        <h1 class="no-margins">${summary==null?0:summary.customerCount }</h1>
                        <small>总用户数</small>
                    </div>
                </div>
            </div>
            <div class="col-sm-3">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <span class="label label-info pull-right">总</span>
                        <h5>生产二维码总数</h5>
                    </div>
                    <div class="ibox-content">
                        <h1 class="no-margins">${summary==null?0:summary.qrcodeCount }</h1>
                        <small>二维码总数</small>
                    </div>
                </div>
            </div>
            <div class="col-sm-3">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <span class="label label-primary pull-right">总</span>
                        <h5>已扫码数</h5>
                    </div>
                    <div class="ibox-content">
                        <h1 class="no-margins">${summary==null?0:summary.scanQrcodeCount }</h1>
                        <small>扫码总数</small>
                    </div>
                </div>
            </div>
            <div class="col-sm-3">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <span class="label label-danger pull-right">昨日</span>
                        <h5>昨日扫码量</h5>
                    </div>
                    <div class="ibox-content">
                        <h1 class="no-margins">${summary==null?0:summary.yesterdayScanrecordCount }</h1>
                        <small>扫码量</small>
                    </div>
                </div>
            </div>
        </div>
        
        
<!--         	<div class="row">
		<div class="col-lg-12">
			<div class="ibox float-e-margins">
				<div class="ibox-title" style="min-height: 60px">
					<div class="pull-right">
						<div class="btn-group">
							<button type="button" id="sBtn2" onclick="changeScanChart(7)"
								class="btn  btn-white active">7天</button>
							<button type="button" id="fBtn2" onclick="changeScanChart(15)"
								class="btn  btn-white">15天</button>
							<button type="button" id="tBtn2" onclick="changeScanChart(30)"
								class="btn  btn-white">30天</button>
							<div class="col-sm-3">
								<input id="startDate2"
									class="laydate-icon form-control layer-date" placeholder="开始日期">
							</div>
							<div class="col-sm-3">
								<input class="laydate-icon form-control layer-date"
									id="endDate2" placeholder="结束日期">
							</div>
							<button class="btn btn-success " id="button" type="button"
								onclick="findScanChart();">查询</button>

						</div>
					</div>
				</div>
				<div class="ibox-content" style="height: 400px">
					<div class="row">
						<div class="col-lg-12">
							<div class="flot-chart">
								<div class="flot-chart-content" id="flot-dashboard-chart2"
									style="height: 400px"></div>
							</div>
						</div>
					</div>
				</div>

			</div>
		</div>
	</div> -->
</div>
</body>

</html>